﻿<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:delay="clr-namespace:Delay;assembly=PhonePerformance"
    xmlns:controlsPrimitives="clr-namespace:Microsoft.Phone.Controls.Primitives;assembly=Microsoft.Phone.Controls"
    xmlns:conv="clr-namespace:Payton.WP7.Converter"
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
     xmlns:cmd="clr-namespace:GalaSoft.MvvmLight.Command;assembly=GalaSoft.MvvmLight.Extras.WP71"
    xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
    mc:Ignorable="d">
    <!-- Resource dictionary entries should be defined here.  xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit.Patch"-->
    <SolidColorBrush Color="LightGray" x:Key="PhoneForegroundBrush"/>
   
    <ImageBrush x:Key="BackroundBrush" ImageSource="{x:Null}" />
    
    <SolidColorBrush x:Key="SpliterBrush" Color="DarkGray"/>
    <SolidColorBrush x:Key="NameBrush" Color="#FFEDE73D"/>
    <SolidColorBrush x:Key="DateTimeCharBrush" Color="#FF7479AB"/>
    <SolidColorBrush x:Key="BorderContainerBrush1" Color="#33121111"/>
    <Style x:Key="SpliterStyle" TargetType="Rectangle">
        <!--<Setter Property="Height" Value="1"/>
        <Setter Property="VerticalAlignment" Value="Top"/>
        <Setter Property="Fill" Value="{StaticResource SpliterBrush}"/>
        <Setter Property="HorizontalAlignment" Value="Stretch"/>
        <Setter Property="Margin" Value="0,138,0,0"/>-->
        <Setter Property="Visibility" Value="Collapsed"/>
    </Style>
    <Style x:Key="MainViewSpliterStyle" TargetType="Rectangle">
        <!--<Setter Property="Height" Value="1"/>
        <Setter Property="VerticalAlignment" Value="Top"/>
        <Setter Property="Fill" Value="{StaticResource SpliterBrush}"/>
        <Setter Property="HorizontalAlignment" Value="Stretch"/>
        <Setter Property="Margin" Value="0,120,0,0"/>-->
        <Setter Property="Visibility" Value="Collapsed"/>
    </Style>
    <!--<conv:AvtarConverter x:Key="AvtarConverter"></conv:AvtarConverter>
    <conv:ProviderIconConverter x:Key="ProviderIconConverter"/>-->
    <conv:TimeToStringConverter x:Key="TimeToStringConverter"/>
	<conv:ActiveToContentConverter x:Key="ActiveToContentConverter"/>
    <conv:BoolToVisibilityConverter x:Key="BoolToVisibilityConverter"/>
    <conv:ReverseBoolToVisibilityConverter x:Key="ReverseBoolToVisibilityConverter"/>
    <conv:ImageResolutionConverter x:Key="ImageResolutionConverter"/>
    <Style x:Key="PivotItemContainerStyle" TargetType="controls:PivotItem">
        <Setter Property="Margin" Value="12,16,0,0"/>
        <Setter Property="Foreground" Value="LightGray"/>
    </Style>
    <ItemsPanelTemplate x:Key="ItemsPanelTemplate1">
        <StackPanel />
    </ItemsPanelTemplate>
    <Style x:Key="NewAccountGridBorderStyle" TargetType="Border">
        <Setter Property="CornerRadius"  Value="0"/>
        <Setter Property="BorderThickness"  Value="1"/>
        <Setter Property="BorderBrush"  Value="#FF6B7078"/>
        <Setter Property="Background"  Value="{StaticResource BorderContainerBrush1}"/>
    </Style>
    <Style TargetType="Border" x:Key="StatusDetailRetwiteBorderStyle">
        <Setter Property="Margin" Value="20,10,10,10"/>
        <Setter Property="CornerRadius"  Value="0"/>
        <Setter Property="Background" Value="{x:Null}"/>
        <Setter Property="BorderBrush" Value="Gray"/>
        <Setter Property="BorderThickness" Value="3,0,0,0"/>
    </Style>
    <Style TargetType="Grid" x:Key="StatusDetailRetwiteGridStyle">
        <Setter Property="Margin" Value="36,6,10,6"/>
    </Style>
    <DataTemplate x:Key="StatusListDataTemplate">
        <Grid d:DesignHeight="238" d:DesignWidth="639">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            <StackPanel Orientation="Horizontal" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" >
                 <TextBlock  Margin="0,2,0,0" VerticalAlignment="top" Text="{Binding Item.User.Name}" HorizontalAlignment="Stretch" Foreground="{StaticResource PhoneAccentBrush}"/>
                <TextBlock  Margin="2,2,0,0" VerticalAlignment="top" Text="{Binding Item.Prefix}" Foreground="Gray"/>
            </StackPanel>

                <TextBlock Margin="4,32,2,2" Text="{Binding Item.Text}" TextWrapping="Wrap"/>
           
       
            <Grid Visibility="{Binding HasRetweet, Converter={StaticResource BoolToVisibilityConverter}}" Grid.Row="2" Margin="10,4,6,28">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto"/>
                        <RowDefinition Height="Auto"/>
                        <RowDefinition Height="*"/>
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="16"/>
                        <ColumnDefinition Width="*"/>
                    </Grid.ColumnDefinitions>
                    <TextBlock Text="{Binding Item.RetweetedStatus.User.Name}"  Grid.Column="1" Foreground="{StaticResource PhoneAccentBrush}"/>
                    <TextBlock  Grid.Column="1" Grid.Row="1" Text="{Binding Item.RetweetedStatus.Text}" TextWrapping="Wrap"/>
                    <TextBlock  Grid.Column="1" HorizontalAlignment="Left"  Margin="2,0,0,0" Grid.Row="2" VerticalAlignment="Bottom" Height="22" Foreground="Gray" Text="{Binding RetweetedStatusInfoText}" FontSize="16"/>
                    <TextBlock  Grid.Column="1" HorizontalAlignment="Right" Grid.Row="2" VerticalAlignment="Bottom" Height="22" Foreground="Gray" Text="{Binding RetweetedRepostCommentInfoText}" FontSize="16"/>
                    <Rectangle Grid.RowSpan="4" HorizontalAlignment="Left" VerticalAlignment="Stretch" Width="3" Fill="Gray"></Rectangle>
                </Grid>
            <TextBlock HorizontalAlignment="Left"  Margin="4,0,0,0" Grid.Row="2" VerticalAlignment="Bottom" Height="22" Foreground="Gray" Text="{Binding StatusInfoText}" FontSize="16"/>
          	<TextBlock HorizontalAlignment="Right" Grid.Row="2" VerticalAlignment="Bottom" Height="22" Foreground="Gray" Text="{Binding RepostCommentInfoText}" FontSize="16"/>
        </Grid>
    </DataTemplate>
    <DataTemplate x:Key="StatusListDataTemplateOfASingleUser">
        <Grid d:DesignHeight="238" d:DesignWidth="639">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            <TextBlock Margin="2,2,2,2" Text="{Binding Item.Text}" TextWrapping="Wrap"/>
            <Grid Visibility="{Binding HasRetweet, Converter={StaticResource BoolToVisibilityConverter}}" Grid.Row="2" Margin="6,4,6,28">
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="*"/>
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="16"/>
                    <ColumnDefinition Width="*"/>
                </Grid.ColumnDefinitions>
                   <TextBlock Text="{Binding Item.RetweetedStatus.User.Name}" Grid.Column="1" Foreground="{StaticResource PhoneAccentBrush}"/>
                    <TextBlock  Grid.Column="1" Grid.Row="1" Text="{Binding Item.RetweetedStatus.Text}" TextWrapping="Wrap"/>
     
                <TextBlock  Grid.Column="1" HorizontalAlignment="Left"  Margin="2,0,0,0" Grid.Row="2" VerticalAlignment="Bottom" Height="22" Foreground="Gray" Text="{Binding RetweetedStatusInfoText}" FontSize="16"/>
                <TextBlock  Grid.Column="1" HorizontalAlignment="Right" Grid.Row="2" VerticalAlignment="Bottom" Height="22" Foreground="Gray" Text="{Binding RetweetedRepostCommentInfoText}" FontSize="16"/>
                <Rectangle Grid.RowSpan="4" HorizontalAlignment="Left" VerticalAlignment="Stretch" Width="3" Fill="Gray"></Rectangle>
            </Grid>
            <TextBlock HorizontalAlignment="Left"  Margin="6,0,0,0" Grid.Row="2" VerticalAlignment="Bottom" Height="22" Foreground="Gray" Text="{Binding StatusInfoText}" FontSize="16"/>
          	<TextBlock HorizontalAlignment="Right" Grid.Row="2" VerticalAlignment="Bottom" Height="22" Foreground="Gray" Text="{Binding RepostCommentInfoText}" FontSize="16"/>
        </Grid>
    </DataTemplate>
    <DataTemplate x:Key="CommentListDataTemplateLite">
        <Grid d:DesignHeight="238" d:DesignWidth="639">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="*"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            <TextBlock  Margin="0,2,0,0" VerticalAlignment="top" Text="{Binding Item.User.Name}" Foreground="{StaticResource PhoneAccentBrush}"/>
            <TextBlock HorizontalAlignment="Right" Margin="10,8" Foreground="Gray" Text="{Binding StatusInfoText}" FontSize="16"/>
            <TextBlock Margin="4,30,2,2"  Text="{Binding Item.Text}" TextWrapping="Wrap"/>
        </Grid>
    </DataTemplate>
   
    <DataTemplate x:Key="DestinationSettingListItemTemplate">
        <CheckBox IsChecked="{Binding IsDestination,Mode=TwoWay}" Padding="-2">
            <Image delay:LowProfileImageLoader.UriSource ="{Binding UserLite.ProfileImageUrl}"  VerticalAlignment="Top" Margin="2"  Height="48" Width="48" >
                <Image.Clip>
                    <RectangleGeometry RadiusX="6" RadiusY="6" Rect="0,0,48,48"/>
                </Image.Clip>
            </Image>
        </CheckBox>
    </DataTemplate>
    <DataTemplate x:Key="UserDataTemplate">
        <Grid
            Width="440">
            <Grid.RowDefinitions>
                <RowDefinition
                    Height="Auto" />
                <RowDefinition
                    Height="Auto" />
            </Grid.RowDefinitions>

            <StackPanel
                Orientation="Horizontal"
                VerticalAlignment="Stretch"
                HorizontalAlignment="Stretch"
                Margin="2">
                <Image
                    delay:LowProfileImageLoader.UriSource="{Binding ProfileImageUrl}"
                    Source="{Binding ProfileImageUrl}"
                    VerticalAlignment="Top"
                    Margin="8,14,2,0"
                    Height="80"
                    Width="80">
                    <Image.Clip>
                        <RectangleGeometry
                            RadiusX="8"
                            RadiusY="8"
                            Rect="0,0,80,80" />
                    </Image.Clip>
                </Image>
                <TextBlock
                    FontSize="26"
                    Margin="8,8,0,12"
                    VerticalAlignment="Top"
                    Text="{Binding Name}"
                    Foreground="{StaticResource PhoneAccentBrush}" />
                <Image
                    Margin="0,16,0,12"
                    Height="24"
                    Visibility="{Binding Verified, Converter={StaticResource BoolToVisibilityConverter}}"
                    Width="24"
                    Source="/Icons/verify_icon.png"
                    VerticalAlignment="Top" />
            </StackPanel>
            <StackPanel
                VerticalAlignment="Bottom"
                Orientation="Horizontal"
                Margin="2"
                Grid.Row="1">
                <TextBlock
                    Text="{Binding Location, StringFormat='位置: {0}'}"
                    TextWrapping="Wrap"
                    FontSize="16"
                    Foreground="Gray"
                    Margin="0,0,0,0" />
                <!--<TextBlock
                    Text="{Binding StatusesCount, StringFormat='微博: {0:N0}'}"
                    TextWrapping="Wrap"
                    FontSize="16"
                    Foreground="Gray"
                    Margin="8,0,0,0" />-->
                <TextBlock
                    Text="{Binding FriendsCount, StringFormat='朋友: {0:N0}'}"
                    TextWrapping="Wrap"
                    FontSize="16"
                    Foreground="Gray"
                    Margin="8,0,0,0" />
                <TextBlock
                    Text="{Binding FollowersCount, StringFormat='粉丝: {0:N0}'}"
                    TextWrapping="Wrap"
                    FontSize="16"
                    Foreground="Gray"
                    Margin="8,0,0,0" />
            </StackPanel>
            <TextBlock MaxHeight="45"
                Text="{Binding Description}"
                TextWrapping="Wrap"
                FontSize="16"
                Foreground="Gray"
                Margin="100,45,0,0" />
        </Grid>
    </DataTemplate>
    <DataTemplate x:Key="UserListDataTemplate">
        <Grid
            Width="420">
            <Grid.RowDefinitions>
                <RowDefinition
                    Height="Auto" />
                <RowDefinition
                    Height="Auto" />
            </Grid.RowDefinitions>

            <StackPanel
                Orientation="Horizontal"
                VerticalAlignment="Stretch"
                HorizontalAlignment="Stretch"
                Margin="2">
                <Image
                    
                    delay:LowProfileImageLoader.UriSource="{Binding ProfileImageUrl}"
                    Source="{Binding ProfileImageUrl}"
                    VerticalAlignment="Top"
                    Margin="8,14"
                    Height="60"
                    Width="60">
                    <Image.Clip>
                        <RectangleGeometry
                            RadiusX="8"
                            RadiusY="8"
                            Rect="0,0,60,60" />
                    </Image.Clip>
                </Image>
                <TextBlock
                    toolkit:TiltEffect.IsTiltEnabled="True"
                    FontSize="26"
                    Margin="8,8,0,12"
                    VerticalAlignment="Top"
                    Text="{Binding Name}"
                    Foreground="{StaticResource PhoneAccentBrush}" />
                <Image
                    Margin="0,16,0,12"
                    Height="24"
                    Visibility="{Binding Verified, Converter={StaticResource BoolToVisibilityConverter}}"
                    Width="24"
                    Source="/Icons/verify_icon.png"
                    VerticalAlignment="Top" />
            </StackPanel>
            <StackPanel
                Orientation="Horizontal"
                Margin="8,-12,0,0"
                Grid.Row="1">
                <TextBlock
                    Text="{Binding Location, StringFormat='位置: {0}'}"
                    TextWrapping="Wrap"
                    FontSize="16"
                    Foreground="Gray"
                    Margin="0,0,0,0" />
                <!--<TextBlock
                    Text="{Binding StatusesCount, StringFormat='微博: {0:N0}'}"
                    TextWrapping="Wrap"
                    FontSize="16"
                    Foreground="Gray"
                    Margin="8,0,0,0" />-->
                <TextBlock
                    Text="{Binding FriendsCount, StringFormat='朋友: {0:N0}'}"
                    TextWrapping="Wrap" 
                    FontSize="16"
                    Foreground="Gray"
                    Margin="8,0,0,0" />
                <TextBlock
                    Text="{Binding FollowersCount, StringFormat='粉丝: {0:N0}'}"
                    TextWrapping="Wrap"
                    FontSize="16"
                    Foreground="Gray"
                    Margin="8,0,0,0" />
            </StackPanel>
            <TextBlock
                Text="{Binding LastStatusText}"
                TextWrapping="NoWrap"
                
                Foreground="LightGray"
                Margin="84,45,0,20" />
        </Grid>
    </DataTemplate>
   
   
    <Style x:Key="ListBoxItemStyle2" TargetType="ListBoxItem">
        <Setter Property="Foreground" Value="LightGray"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="Margin" Value="10,2,2,2"/>
        <Setter Property="Padding" Value="10,2,2,2"/>
        <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
        <Setter Property="VerticalContentAlignment" Value="Stretch"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ListBoxItem">
                    <Border x:Name="LayoutRoot" HorizontalAlignment="{TemplateBinding HorizontalAlignment}" VerticalAlignment="{TemplateBinding VerticalAlignment}" d:DesignHeight="95" d:DesignWidth="298" >

                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="MouseOver"/>
                                <VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="LayoutRoot">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource TransparentBrush}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <DoubleAnimation Duration="0" To=".5" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="ContentContainer"/>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                            <VisualStateGroup x:Name="SelectionStates">
                                <VisualState x:Name="Unselected"/>
                                <VisualState x:Name="Selected"/>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <ContentControl x:Name="ContentContainer" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" Foreground="{TemplateBinding Foreground}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"/>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
	<DataTemplate x:Key="ProviderPickerItemTemplate">
		<StackPanel Orientation="Horizontal">
            <Image Height="30" Width="30" Margin="2,2,12,2" Source="{Binding IconImage}"/>
			<TextBlock Text="{Binding ProviderName}" VerticalAlignment="Center"/>
		</StackPanel>
	</DataTemplate>
    <DataTemplate x:Key="ImageResolutionPickerItemTemplate">
        <TextBlock Text="{Binding ., Converter={StaticResource ImageResolutionConverter}}" VerticalAlignment="Center"/>        
    </DataTemplate>

    <ControlTemplate x:Key="PhoneDisabledTextBoxTemplate" TargetType="TextBox">
        <ContentControl x:Name="ContentElement" BorderThickness="0" HorizontalContentAlignment="Stretch" Margin="{StaticResource PhoneTextBoxInnerMargin}" Padding="{TemplateBinding Padding}" VerticalContentAlignment="Stretch"/>
    </ControlTemplate>
    <Style x:Key="TextBoxStyle1" TargetType="TextBox">
        <Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilyNormal}"/>
        <Setter Property="FontSize" Value="{StaticResource PhoneFontSizeMediumLarge}"/>
        <Setter Property="Background" Value="{StaticResource PhoneTextBoxBrush}"/>
        <Setter Property="Foreground" Value="{StaticResource PhoneTextBoxForegroundBrush}"/>
        <Setter Property="BorderBrush" Value="{StaticResource PhoneTextBoxBrush}"/>
        <Setter Property="SelectionBackground" Value="{StaticResource PhoneAccentBrush}"/>
        <Setter Property="SelectionForeground" Value="{StaticResource PhoneTextBoxSelectionForegroundBrush}"/>
        <Setter Property="BorderThickness" Value="{StaticResource PhoneBorderThickness}"/>
        <Setter Property="Padding" Value="2"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="TextBox">
                    <Grid Background="Transparent">
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="FocusStates">
                                <VisualState x:Name="Focused">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="EnabledBorder">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneTextBoxEditBackgroundBrush}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="EnabledBorder">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneAccentBrush}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Unfocused">
                                    <Storyboard AutoReverse="True">
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentElement">
                                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneDisabledBrush}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                               
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Border x:Name="EnabledBorder" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Margin="{StaticResource PhoneTouchTargetOverhang}">
                            <ContentControl x:Name="ContentElement" BorderThickness="0" HorizontalContentAlignment="Stretch" Margin="{StaticResource PhoneTextBoxInnerMargin}" Padding="{TemplateBinding Padding}" VerticalContentAlignment="Stretch"/>
                        </Border>
                        <Border x:Name="DisabledOrReadonlyBorder" BorderBrush="{StaticResource PhoneDisabledBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="Transparent" Margin="{StaticResource PhoneTouchTargetOverhang}" Visibility="Collapsed">
                            <TextBox x:Name="DisabledOrReadonlyContent" Background="Transparent" Foreground="{StaticResource PhoneDisabledBrush}" FontWeight="{TemplateBinding FontWeight}" FontStyle="{TemplateBinding FontStyle}" FontSize="{TemplateBinding FontSize}" FontFamily="{TemplateBinding FontFamily}" IsReadOnly="True" SelectionForeground="{TemplateBinding SelectionForeground}" SelectionBackground="{TemplateBinding SelectionBackground}" TextAlignment="{TemplateBinding TextAlignment}" TextWrapping="{TemplateBinding TextWrapping}" Text="{TemplateBinding Text}" Template="{StaticResource PhoneDisabledTextBoxTemplate}"/>
                        </Border>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="ListPickerStyle"  TargetType="toolkit:ListPicker">
        <Setter Property="BorderThickness" Value="0"/>
        <Setter Property="Background" Value="LightYellow"/>
    </Style>
</ResourceDictionary>